package com.woniuxy.caradmin.mapper;

import com.woniuxy.caradmin.entity.pojo.Insurerecord;
import com.woniuxy.caradmin.entity.pojo.Yearcheckrecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author womenzu
 * @since 2020-12-07
 */
@Repository
public interface InsurerecordMapper {
    //查询保险记录
    public List<Insurerecord> selectAllByPage(Insurerecord insurerecord);
    //增加记录
    public int addInsurerecord(Insurerecord insurerecord);
    //修正记录
    public int  upInsurerecord(Insurerecord insurerecord);
    //删除记录
    public int removeInsurerecord(@Param("id") Integer id);
    //id查询记录
    public Insurerecord selectInsureById(@Param("id") Integer id);
}
